package com.jtest.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jtest.entity.UserEntity;

public interface IUserService extends IService<UserEntity> {

    void addUser(UserEntity user);

    void updateUser(Long id, String name, int age) throws Exception;

    void deleteUser(Long id) throws Exception;

    UserEntity getUser(Long id);

}
